package lab02.test15;

public class Graduate implements StudentInterface,TeacherInterface {
    String name;
    String sex;
    int age;
    double fee;
    double pay;

    @Override
    public void setFee() {

    }

    @Override
    public void getFee() {

    }

    @Override
    public void setPay() {

    }

    @Override
    public void getPay() {

    }
    void count(){
        if(pay-fee<2000){
            System.out.println("You  need a loan!");
        }
        else {
            System.out.println("You income is enough！");
        }
    }
}
